package com.company.cloud.club.modules.core.util;

import org.springframework.context.ConfigurableApplicationContext;

public class BeanUtil {

    public static ConfigurableApplicationContext ctx;

    public static <T> T getBean(Class<T> c) {
        return ctx.getBean(c);
    }

}